package com.mes.cloud.api.dto.request.product;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 产品组合关联
 * 
 * @author xy
 * @version 2019-08-23 10:37:15
 * @email yuan.xue3@pactera.com
 */
@Data
public class ProductIdentifyProductsAddRequest implements Serializable{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "产品ID", required = true)
    @NotNull(message = "productId不能为空")
    private String productId;

    @ApiModelProperty(value = "关联产品id集合", required = true)
    @NotNull(message = "relateProductIds不能为空")
    private List<String> relateProductIds;

    @ApiModelProperty(value = "状态(0：禁用，1：启用)", required = false)
    private String enableFlag;

    @ApiModelProperty(value = "创建人", required = false)
    private String createBy;

    @ApiModelProperty(value = "修改人", required = false)
    private String updateBy;

    @ApiModelProperty(value = "更新日期", required = false)
    private String updateDateStr;

}
